package com.winshare.saleAssistant.domain.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

@ApiModel
public class LoginDTO {

    @NotBlank(message = "用户名不得为空！！")
    @ApiModelProperty(value = "用户名")
    private String account;

    @NotBlank(message = "用户密码不得为空！！")
    @ApiModelProperty(value = "用户密码")
    private String password;

   // @NotBlank(message = "验证码id不得为空！！")
    @ApiModelProperty(value = "验证码id")
    private String captchaId;

   // @NotBlank(message = "验证码不得为空！！")
    @ApiModelProperty(value = "验证码")
    private String captchaCode;

    public LoginDTO() {
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCaptchaId() {
        return captchaId;
    }

    public void setCaptchaId(String captchaId) {
        this.captchaId = captchaId;
    }

    public String getCaptchaCode() {
        return captchaCode;
    }

    public void setCaptchaCode(String captchaCode) {
        this.captchaCode = captchaCode;
    }
}
